#include "main.h"

static void delay_ms(u32 ms)
{
	u32 i = 84000000/4/1000*ms;
	while(i)
	{
		i--;
	}
}

int main(void)
{
	u8 keynum;
	led_init();
	key_init();
	
	
	while(1)
	{
		keynum = key2_scan();
		if(keynum == 2)
		{
			LED3_OVERTURN;
			
		}
	
	}

}

